package com.hmall.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class CustomerTradeInformation{

    //历史订单数目
    Integer historyOrderNumber;

    //历史成交金额
    BigDecimal historyPayment;

    //回款总额
    BigDecimal returnPayment;

    //上笔回款额度
    BigDecimal lastReturnPayment;

    //上笔回款时间
    Date lastReturnTime;

    //退款订单数目
    Integer refundOrderNumber;

    //退款订单总额
    BigDecimal refundOrderPayment;

    public CustomerTradeInformation(Integer historyOrderNumber, BigDecimal historyPayment, BigDecimal returnPayment, BigDecimal lastReturnPayment, Date lastReturnTime, Integer refundOrderNumber, BigDecimal refundOrderPayment) {
        this.historyOrderNumber = historyOrderNumber;
        this.historyPayment = historyPayment;
        this.returnPayment = returnPayment;
        this.lastReturnPayment = lastReturnPayment;
        this.lastReturnTime = lastReturnTime;
        this.refundOrderNumber = refundOrderNumber;
        this.refundOrderPayment = refundOrderPayment;
    }
}
